package com.tarena.vehicle.management.service;

import com.tarena.vehicle.common.pojo.vo.PageData;
import com.tarena.vehicle.management.pojo.param.VehicleAddNewParam;
import com.tarena.vehicle.management.pojo.param.VehicleUpdateParam;
import com.tarena.vehicle.management.pojo.query.VehicleQuery;
import com.tarena.vehicle.management.pojo.vo.VehicleListItemVO;
import java.util.List;

public interface IVehicleService {
    void addNew(VehicleAddNewParam param);

    PageData<VehicleListItemVO> getAll(VehicleQuery query, Integer num, Integer size);

    void deleteById(Integer id);

    void update(VehicleUpdateParam param);
}
